package com.yswy.backstage.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yswy.domain.entity.tf.TgDeduction;
import com.yswy.domain.entity.tf.TgMediaAccount;
import com.yswy.domain.vo.dto.BaseFilter;
import com.yswy.domain.vo.gld.addOrUpate.TgDeductionAddOrUpdate;
import com.yswy.domain.vo.gld.addOrUpate.TgMediaAccountAddOrUpdate;

import java.util.List;

public interface TgDeductionService extends IService<TgDeduction> {

    //扣量配置列表
    Page<TgDeduction> pageTgDeduction(BaseFilter req);
    //扣量配置列表
    List<TgDeduction> listTgDeduction(Long tgDeductionId);

    //判断是否存在
    Boolean isExist( String identifier);
    //添加修改扣量配置
    void addOrUpadteTgDeduction(TgDeductionAddOrUpdate res);
    //删除扣量配置
    void delTgDeduction(Long tgDeductionId);
}
